package com.java.schedule.springbatch.mapper.to;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.java.schedule.springbatch.entity.EmployeeFrom;
import com.java.schedule.springbatch.entity.EmployeeTo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 白名单Mapper接口
 *
 * @author: wwei
 * @Date: 2023-03-06 14:41
 * @Version 1.0
 * @Version 1.0   2023-03-06 14:41       wwei      创建类
 */
@Mapper
public interface EmployeeToMapper extends BaseMapper<EmployeeFrom> {

    int insertByBatch(List<EmployeeTo> list);

    int addEmployee(EmployeeTo employee);

}
